package com.leanyuan.publi.service.impl;

import com.leanyuan.publi.domain.Orders;
import com.leanyuan.publi.dao.OrdersMapper;
import com.leanyuan.publi.service.OrdersService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 相亲相爱一家人
 * @since 2021-05-25
 */
@Service
public class OrdersServiceImpl extends ServiceImpl<OrdersMapper, Orders> implements OrdersService {

    @Autowired
    OrdersMapper ordersMapper;

    @Override
    public List<Orders> findByid(Integer id) {
        return ordersMapper.findByid(id);
    }
}
